@layout("/backend/common/_container.html"){
<div class="dhcc-form">

    <form method='post' id="msgModuleInfoForm" name="msgModuleInfoForm" enctype="multipart/form-data">

        <#Hidden id="id" value=""/>

        <#Input id="moduleCode" name="模块编码"/>
        <#Input id="moduleName" name="模块名"/>
        <#Input id="moduleUrl" name="地址模板"/>
        <#CheckBox id="pushTypes" map="${pushTypes}" name="默认推送类型"/>
        <#Textarea id="template" name="内容模板"/>
        <div class="alert alert-warning" role="alert">
            <p>注：模板均采用Beetl语法。</p>
            <p>简例：今天是天气不错，我们一起去写\${bug}玩吧！</p>
        </div>
        <div class="toolbar">
            <#Button name="保存" id="ensure" icon="icon-w-save" clickFun="MsgModuleInfoDlg.addSubmit()"/>
            <#Button btnCss="l-bt-red" name="关闭" id="cancel" icon="icon-w-close" clickFun="MsgModuleInfoDlg.close()"/>
        </div>

    </form>
</div>
<script src="${ctxPath}/static/backend/msgcenter/module/module_info.js"></script>
@}
